Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the power mode issue for the case that run from context model #23330

Merged
merged 2 commits into from
Jan 16, 2025

Conversation

HectorSVC
Copy link
Contributor

Description

Set power config id and the default power mode from provider option (if there is) for main thread, otherwise it will mess up the power mode if user just create session without run it.

The issue fixed by this PR is:
Process 1 just creates the session without run it.
Then, start process 2 which creates the session and run it with power saver mode. The result is with burst power mode.

…on for main thread, otherwise it will mess up the power mode if user just create session without run it.
@HectorSVC HectorSVC added the ep:QNN issues related to QNN exeution provider label Jan 11, 2025
@HectorSVC HectorSVC merged commit afbee6e into main Jan 16, 2025
98 checks passed
@HectorSVC HectorSVC deleted the qnn_power_mode_fix branch January 16, 2025 17:07
carzh pushed a commit that referenced this pull request Jan 16, 2025
…3330)

### Description
Set power config id and the default power mode from provider option (if there is) for main thread, otherwise it will mess up the power mode if user just create session without run it.

The issue fixed by this PR is:
Process 1 just creates the session without run it.
Then, start process 2 which creates the session and run it with power saver mode. The result is with burst power mode.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ep:QNN issues related to QNN exeution provider
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants